package com.miao.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.miao.common.entity.pojo.Product;
import com.miao.shop.dao.ShopProductDao;
import com.miao.shop.service.ShopProductService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 商品表(Product)表服务实现类
 * @author MiaoWenqing
 * @since 2021-02-03 13:46:24
 */
@Service("ShopProductService")
public class ShopProductServiceImpl extends ServiceImpl<ShopProductDao, Product> implements ShopProductService {


    @Resource
   private ShopProductDao shopProductDao;




    @Override
    public Product getProById(Integer proId) {
        return this.shopProductDao.selectById(proId);
    }
}